﻿@model SRF.Admin.Models.DictionaryItem
@{
    Layout = "~/Views/Shared/_ViewDialog.cshtml";  
}
@using SRF.UI.Html
@section header{
}
@using (Html.BeginForm("", "", FormMethod.Get, new { @class = "form-horizontal" }))
{
    @Html.HiddenFor(m => m.Id)
    <table>
        <tr>
            <td>
                <label class="control-label" for="Text">
                    名称:</label>
                <span class="display-label">@Html.TextFor(m => m.Text)</span>
            </td>
            <td>
                <label class="control-label" for="Code">
                    编码:</label>
                <span class="display-label">@Html.TextFor(m => m.Code)</span>
            </td>
        </tr>
        <tr>
            <td>
                <label class="control-label" for="Rank">
                    排序:</label>
                <span class="display-label">@Html.TextFor(m => m.Rank)</span>
            </td>
            <td>
                <label class="control-label" for="Enabled">
                    有效:</label>
                <span class="display-label">@Html.TextFor(m => m.Enabled, e => e ? "是" : "否")</span>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <label class="control-label" for="Remark">
                    描述:</label>
                <span class="display-label" style="width: 250px">@Html.TextFor(m => m.Remark)</span>
            </td>
        </tr>
    </table>
}